table{
    /*去掉td间隔距离*/
    border-collapse:collapse ;
    width: 100%;
}
th,td{
    padding: 8px 0;
}
/*购物车地址栏*/
.xxx{
    width: 990px;
    margin: 0 auto;
    margin-top: 200px;
}
.xxx .title th:nth-child(1){
    text-align: left;
    font-weight: bold;
    color: brown;
}
.xxx .title th:nth-child(2){
    text-align: right;
    color: #666;
    font-size: 14px;
    font-weight: 200;
}
.xxx .title th:nth-child(2) span{
    display: inline-block;
    padding: 2px 4px;
    font-size: 13px;
    border: 1px solid #666;
}
/*购物车标题*/
.xxx .head{
    background: #f2f2f2;
}
/*选中每个tr下最后一个td标签*/
.xxx tr td:last-child{
    min-width: 80px;
    text-align: middle;
}
table tr a {
    text-decoration: none;
    color: #444;
}
/*商品部分*/
.xxx .shop td :last-child{
    text-align: left;
    color: #444;
}
.xxx .shop td :last-child{
    text-align: left;
    color: #444;
    font-size: 14px;
    font-weight: bold;
}
.xxx .shop td:last-child a:hover{
    color: red;
}
/*商品样式*/
.xxx .aaa{
    border: 2px solid #f2f2f2;
    border-top: 3px solid gray;
}
.xxx .aaa td{
    padding: 15px 0 30px 0;
}
.xxx tr td:nth-child(1){
    width: 30px;
    /*input是内联元素*/
    text-align: center;
    /*td标签有专用的上下位置调整样式的属性*/
    vertical-align:top;
}

.head td:nth-child(2), .aaa td:nth-child(2)
{
    width: 100px;
}
.aaa td{
    font-size: 12px;
    vertical-align: top;
}

.aaa td:nth-child(2){
    text-align: center;
}

.aaa td:nth-child(3) span{
display: inline-block;
width: 200px;
height: 32px;
overflow: hidden;
padding: 0 6px;
}
.aaa td:nth-child(4){
    width: 140px;
    text-align: center;
}

.aaa td:nth-child(4){
    display: inline-block;
    width: 135px;
    height: 30px;
    /*一下三行构成超出元素范围文本显示省略号*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.aaa td:nth-child(5){
    width: 80px;
    overflow: hidden;
}

.aaa td:nth-child(6){
width: 90px;
text-align: center;
}

.aaa .sss{
display: flex;
}

.aaa .sss span{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid grey;
    background: #f3f3f3;
    content:pointeer;
}

.aaa .sss input{
    width: 36px;
    border-radius: 0;
    height: 18px;
    border: 1px solid gray;
    /*input标签激活状态去掉边框样式变化*/
    outline: none;
    border-left-width: 0;
    border-right-width: 0;
}
/*百度消除sss后面的增加减按钮*/
input::-webkit-outer-spin-button{
    -webkit-animation: none;
}
input::-webkit-inner-spin-button{
    -webkit-animation: none;
}
input[type="sss"]{
    -moz-animation:none;
}

.aaa td:nth-child(7){
    font-size: 12px;
    font-weight: bold;
    color: #000;
    width: 64px;
    text-align: center;
    }
    /*商品样式*/
.xxx .aaa{
    border: 2px solid #f2f2f2;
    border-top: 3px solid gray;
}
.xxx .aaa td{
    padding: 15px 0 30px 0;
}
.xxx tr td:nth-child(1){
    width: 30px;
    /*input是内联元素*/
    text-align: center;
    /*td标签有专用的上下位置调整样式的属性*/
    vertical-align:top;
}

.head td:nth-child(2), .aaa td:nth-child(2)
{
    width: 100px;
}
.aaa td{
    font-size: 12px;
    vertical-align: top;
}

.aaa td:nth-child(2){
    text-align: center;
}

.aaa td:nth-child(3) span{
display: inline-block;
width: 200px;
height: 32px;
overflow: hidden;
padding: 0 6px;
}
.aaa td:nth-child(4){
    width: 140px;
    text-align: center;
}

.aaa td:nth-child(4){
    display: inline-block;
    width: 135px;
    height: 30px;
    /*一下三行构成超出元素范围文本显示省略号*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.aaa td:nth-child(5){
    width: 80px;
    overflow: hidden;
}

.aaa td:nth-child(6){
width: 90px;
text-align: center;
}

.aaa .sss{
display: flex;
}

.aaa .sss span{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid grey;
    background: #f3f3f3;
    content:pointeer;
}

.aaa .sss input{
    width: 36px;
    border-radius: 0;
    height: 18px;
    border: 1px solid gray;
    /*input标签激活状态去掉边框样式变化*/
    outline: none;
    border-left-width: 0;
    border-right-width: 0;
}
/*百度消除sss后面的增加减按钮*/
input::-webkit-outer-spin-button{
    -webkit-animation: none;
}
input::-webkit-inner-spin-button{
    -webkit-animation: none;
}
input[type="sss"]{
    -moz-animation:none;
}

.aaa td:nth-child(7){
    font-size: 12px;
    font-weight: bold;
    color: #000;
    width: 64px;
    text-align: center;
    }
    /*结算样式*/
.zzz {
    display: flex;
    font-size: 12px;
    color: #666;
    background: #fff;
    height: 60px;
    width: 988px;
    margin: 0 auto;
    border: 1px solid #f2f2f2;
    margin-top: 10px;
    align-items: center;
}
.zzz div:nth-child(1){
    width: 30px;
    text-align: center;
}
.zzz div:nth-child(2),
.zzz div:nth-child(3),
.zzz div:nth-child(4),
.zzz div:nth-child(5){
    margin-right: 10px;
}
.zzz div:nth-child(6){
    flex-grow: 1;
}
.zzz div:nth-child(7),.zzz div:nth-child(8){
    height: 60px;
    line-height: 30px;
    margin-right: 10px;
}
.zzz div:nth-child(7) span{
    color: red;
    font-size: 14px;
}
.zzz div:nth-child(8) span{
    color: red;
    font-size: 16px;
    font-weight: bold;
}
.zzz div:nth-child(9){
    width: 100px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    background: red;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}





